export type ResponseData = {
  status: number;
  message: string;
  body: any;
  url: string;
};

export type PageQuery = {
  total: number;
  pageIndex: number;
  pageSize: number;
};

export type PageRet<T> = {
  success: boolean;
  message: string;
  dataExt: any;
  totalCount: number;
  dataList: T[];
};

export type BaseRet = {
  success: boolean;
  message: string;
  dataExt: any;
};

export type ObjectRet<T> = {
  success: boolean;
  message: string;
  dataExt: any;
  data: T;
};

export type ListRet<T> = {
  success: boolean;
  message: string;
  dataExt: any;
  dataList: T[];
};
